﻿<!DOCTYPE html>
<html>
<head>
    @{
        ViewBag.Title = "美丽说分享宝";
        Layout = null;
    }

    <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/themes/base/bootstrap.css")">
    <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/themes/base/jquery-ui-1.10.0.custom.css")">
    @*   <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/jquery.ui.all.css")">
     <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/jquery.ui.css")">*@

    <script type="text/javascript" src="@Url.Content("/Scripts/jquery-1.8.2.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/jquery-ui.1.8.2-max.js")"></script>
    @*<script type="text/javascript" src="@Url.Content("/Scripts/jquery-ui-1.8.20.min2.js")"></script>*@
    <script type="text/javascript" src="@Url.Content("/Scripts/jquery.unobtrusive-ajax.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/jquery.validate.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/jquery.validate.unobtrusive.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/bootstrap.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/html5.js")"></script>
    <script type="text/javascript" src="@Url.Content("/Scripts/g.js")"></script>
    <!--[if lte IE 6]>
      <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/themes/base/bootstrap-ie6.css")">
      <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/themes/base/ie.css")">

      <![endif]-->

    <!--[if lte IE 6]>

    <script type="text/javascript" src="@Url.Content("/Scripts/bootstrap-ie.js")"></script>

    <![endif]-->

    <link rel="stylesheet" type="text/css" href="@Url.Content("/Content/site.css")">
    <style>
        body{
           padding-top: 0px
        }
    </style>
    <script>
       
 function closeWindow() 
 { 
     //var ua=navigator.userAgent 
     //var ie=navigator.appName=="Microsoft Internet Explorer"?true:false 
     //if(ie) 
     //{ 
     //    var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE ")))) 
     //    if(IEversion< 5.5) 
     //    { 
     //        var str = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">' 
     //        str += '<param name="Command" value="Close"></object>'; 
     //        document.body.insertAdjacentHTML("beforeEnd", str); 
     //        document.all.noTipClose.Click(); 
     //    } 
     //    else 
     //    { 
     //        parent.window.opener =null;
     //        parent.window.open('','_self','');//for IE7
     //        parent.window.close(); 
     //    } 
     //} 
     //else 
     //{ 
     //    parent.window.close() 
     //} 
     window.open('', '_parent', '');
     window.close();
     //FF
     window.parent.top.close();
 }
</script>

    </script>
</head>
<body>
    <div class="container page">
    @if (ViewBag.Type == "OK")
    {
        <div class="alert alert-success">交易成功,您已经成功充值 @ViewBag.Money 元</div>
    }
    else
    {
        <div class="alert alert-error">交易发生异常</div>
     
    }
    <a class="btn"  onclick="closeWindow()">关闭</a>
        </div>

    
</body>

</html>

